package com.clock.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.clock.common.annotation.Excel;
import com.clock.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 预约对象 shop_appointed
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public class ShopAppointed extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约单ID */
    private Long appointedId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 支付金额精确到2位小数;单位:元。如:200.07，表示:200元7分 */
    @Excel(name = "支付金额精确到2位小数;单位:元。如:200.07，表示:200元7分")
    private String paymoney;

    /** 预约单开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约单开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointedStartTime;

    /** 预约单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointedOverTime;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 预约单状态（数字‘0’表示未转化，数字‘1’表示已转化’ */
    @Excel(name = "预约单状态", readConverterExp = "预约单状态（数字‘0’表示未转化，数字‘1’表示已转化’")
    private String appointedStatus;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long shopId;

    /** 店员ID */
    @Excel(name = "店员ID")
    private Long employeeId;

    public void setAppointedId(Long appointedId) 
    {
        this.appointedId = appointedId;
    }

    public Long getAppointedId() 
    {
        return appointedId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPaymoney(String paymoney) 
    {
        this.paymoney = paymoney;
    }

    public String getPaymoney() 
    {
        return paymoney;
    }
    public void setAppointedStartTime(Date appointedStartTime) 
    {
        this.appointedStartTime = appointedStartTime;
    }

    public Date getAppointedStartTime() 
    {
        return appointedStartTime;
    }
    public void setAppointedOverTime(Date appointedOverTime) 
    {
        this.appointedOverTime = appointedOverTime;
    }

    public Date getAppointedOverTime() 
    {
        return appointedOverTime;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setAppointedStatus(String appointedStatus)
    {
        this.appointedStatus = appointedStatus;
    }

    public String getAppointedStatus()
    {
        return appointedStatus;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("appointedId", getAppointedId())
            .append("userId", getUserId())
            .append("paymoney", getPaymoney())
            .append("createTime", getCreateTime())
            .append("appointedStartTime", getAppointedStartTime())
            .append("appointedOverTime", getAppointedOverTime())
            .append("serviceName", getServiceName())
            .append("appointedStatus", getAppointedStatus())
            .append("payTime", getPayTime())
            .append("shopId", getShopId())
            .append("employeeId", getEmployeeId())
            .toString();
    }
}
